import { ref } from 'vue'

//属性数据
export const edgeData = ref<any>(null)

//处理数据变化
export const handleChange = (): void => {
  const newData = JSON.parse(JSON.stringify(edgeData.value))
  window.api.handleCanvasData('updateEdges', 'property', true, [newData])
}
